const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device, // 设备
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  //
  permission_routes: state => state.permission.routes, // 改角色下享有得所有路由
  errorLogs: state => state.errorLog.logs,
  roles: state => state.user.roles

}
export default getters

